		var loadHot = function(){
			var page =1;
			var pagesize = 24;
			var totalCount = 100;
			
			function load(page,pagesize){

			}
			$('.pagination-hot').Paging({
				'size':pagesize,
				'count':totalCount,
				'toolbar':false,
				callback:function(page,pagesize,count){
				  pa = page;
				  load(pa,pagesize);
				}
			})
		} 
		loadHot();	

		var loadTopic = function(){
			var page =1;
			var pagesize = 24;
			var totalCount = 100;
			function load(page,pagesize){
				
			}
			$('.pagination-topic').Paging({
				'size':pagesize,
				'count':totalCount,
				'toolbar':false,
				callback:function(page,pagesize,count){
				  pa = page;
				  load(pa,pagesize);
				}
			})
		} 
		loadTopic();
			
		var loadDepart = function(){
			var page =1;
			var pagesize = 24;
			var totalCount = 100;
			function load(page,pagesize){
			}
			$('.pagination-depart').Paging({
				'size':pagesize,
				'count':totalCount,
				'toolbar':false,
				callback:function(page,pagesize,count){
				  pa = page;
				  load(pa,pagesize);
				}
			})
			
		} 
		loadDepart();

	   // 主题服务
	    var swiper = new Swiper('.desk-topic .swiper-container', {
			pagination: {
				el: '.swiper-topic',
			},
	    });
	    // 部门办事
	    var swiperDepart = new Swiper('.swiper-depart', {
			pagination: {
				el: '.swiper-pagination-depart',
				// clickable: true,
			},
			// hashNavigation: true
	    });	
	    // 其他服务
	    var swiperOther = new Swiper('.swiper-other', {
			pagination: {
				el: '.swiper-pagination-other',
				// clickable: true,
			},
			// hashNavigation: true,
			navigation: {
			  nextEl: '.swiper-button-next',
			  prevEl: '.swiper-button-prev',
			},
	    });	
	    $(".swiper-button-next").append("<i class='iconfont icon-left-copy-right'></i>");
        $(".swiper-button-prev").append("<i class='iconfont icon-left--copy-left'></i>");
	    // 左侧导航栏切换
	    $(".desk-left >div").click(function(){
	    	$(".desk-left >div").removeClass("left-select");
	    	$(this).addClass("left-select");
	    	var index = $(this).index();
	    	$(".desk-right >div").addClass("desk-hide");
	    	$(".desk-right >div:nth-child("+ (index+1) +")").removeClass("desk-hide");
	    	if(index == 3){
	    		$(".desk-other >div").addClass("none");
	    		$(".desk-other .swiper-other").removeClass("none");
	    	}
	    	swiper.update();
	    	swiperDepart.update();
	    	swiperOther.update();
	    })
	    // 主题服务点击效果
	    $(".topic-handle >div").click(function(){
	    	$(".topic-handle >div").removeClass("topic-handle-item-click");
	   		$(this).addClass("topic-handle-item-click");
	    })
	    // 主题服务切换
	   	$(".desk-topic .topic-top >div").click(function(){
	   		var index = $(this).index();
	   		$(".desk-topic .topic-top >div").removeClass("topic-select");
	   		$(".desk-topic .topic-top >div:nth-child("+ (index+1) +")").addClass("topic-select");
	   		if(index == 0){
	   			$(".slide-GR").addClass("none");
	   			$(".slide-FR").removeClass("none");
	   		}else{
	   			$(".slide-FR").addClass("none");
	   			$(".slide-GR").removeClass("none");
	   		}
	   		swiper.update();
	   	})
	   	// 部门办事切换
	   	$(".desk-depart .topic-top >div").click(function(){
	   		var index = $(this).index();
   			$(".desk-depart .topic-top >div").removeClass("topic-select");
   			$(".desk-depart .topic-top >div:nth-child("+ (index+1) +")").addClass("topic-select");
	    })
	    $(".depart-handle >div").click(function(){
	    	$(".depart-handle >div").removeClass("depart-seelct");
	    	$(this).addClass("depart-seelct");
	    })
	    // 点击动效
	    animate(".consult-btn img,.phone-key >div,.hot-left .hot-item ,.topic-handle-item,.other-item,.depart-handle-item,.desk-restore,.hot-search-btn,.depart-search-btn,.topic-search-btn,.desk-exit,.desk-area,.hot-matter-item,.topic-matter-item,.topic-matter-item,.layui-box a,.hot-more,.video-item,.worker-btn");

	   // 办件查询结果分页 
	   var otherResult = function(){
			var page =1;
			var pagesize = 24;
			var totalCount = 100;
			function load(page,pagesize){
			}
			$('.pagination-other-result').Paging({
				'size':pagesize,
				'count':totalCount,
				'toolbar':false,
				callback:function(page,pagesize,count){
				  pa = page;
				  load(pa,pagesize);
				}
			})
			
		} 
		otherResult();


		
		$(".depart-handle-item,.topic-handle-item").click(function(){
			location.href = '自助办事.html';
		})